package com.demo.design.stractural.flyweight.impl;

import com.demo.design.stractural.flyweight.Flyweight;

public class LowanFlyweigth implements Flyweight {

    private String str;

    public LowanFlyweigth(String str) {
        this.str = str;
    }
    @Override
    public void operate(String key) {
        System.err.println(key + ":" + str + "老东西, 你的替身最没用了");
    }
}
